class ItemStyle < ActiveRecord::Base
  validates_presence_of :name
  validates_uniqueness_of :name

  attr_accessible :name, :status, :flag, :meta_keywords, :meta_description, :description
  
  def to_s
    name
  end
  
  def to_param
    "#{id}-#{name}"
  end
end
